@*Hdip Project 2013-14, Student Name:- Chris Pembroke,  Student Number:- x00115839*@
@model Exercise1Project.Models.Bike

@{
    ViewBag.Title = "Delete";
    string customerId = TempData["CustomerId"].ToString();
    TempData.Keep("CustomerId");
}

<div class="viewContainerDiv2">

    <h2>Delete Bike</h2>

    <h3>Are you sure you want to delete this bike?</h3>

    <div>

        @Html.HiddenFor(model => model.BikeID)
        @Html.HiddenFor(model => model.CustomerID)

        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.Make)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Make)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Model)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Model)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Color)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Color)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Frame_Number)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Frame_Number)
            </dd>

        </dl>

        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()

            <div class="form-actions no-color">
                <input type="submit" value="Delete" class="btn btn-default" /> | @Html.ActionLink("Back to List", "Index", new { id = customerId })
            </div>
        }
    </div>
</div>

    @section Scripts {
        @Scripts.Render("~/bundles/jqueryval")
        <link rel="stylesheet" href="@Url.Content("~/Content/customised.css")" />
    }

